<form class="layui-form" action="" method="post" name="myform" id="myform">
	<div class="manniucms-sub-content">
		<div class="layui-box">
			<fieldset class="layui-elem-field">
				<legend>菜单修改</legend>
				<div class="layui-field-box">
					<div class="layui-form-item">
						<label class="layui-form-label">类型：</label>
						<div class="layui-input-block">
							<div class="layui-form-mid">{$menu_name}</div>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">上级菜单：</label>
						<div class="layui-input-block">
							{$select}
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">名称：</label>
						<div class="layui-input-block">
							<input type="text" name="data[name]" id="mn_name" value="{$data.name}" required  lay-verify="required" placeholder="名称" autocomplete="off" class="layui-input">
						</div>
					</div>
					{if $menu_type}
					<div class="layui-form-item">
						<label class="layui-form-label">模块：</label>
						<div class="layui-input-block">
							<input type="text" name="data[module]" id="mn_module" value="{$uri[0]}" required  lay-verify="required" placeholder="模块" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">Class：</label>
						<div class="layui-input-block">
							<input type="text" name="data[class]" id="mn_class" value="{$uri[1]}" required  lay-verify="required" placeholder="路径.控制器 或者 直接填写控制器" autocomplete="off" class="layui-input">
							<div class="layui-form-mid">格式：路径.路径.控制器 或者 直接填写控制器（路径与路径或控制器之间用小数点 . 分割）</div>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">Method：</label>
						<div class="layui-input-block">
							<input type="text" name="data[method]" id="mn_method" value="{$uri[2]}" required  lay-verify="required" placeholder="方法名称" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">附加参数：</label>
						<div class="layui-input-block">
							<input type="text" name="data[param]" id="mn_param" value="{$data.param}" placeholder="格式：参数1=值&参数2=值..." autocomplete="off" class="layui-input">
							<div class="layui-form-mid">格式：参数1=值&参数2=值...</div>
						</div>
					</div>
					{/if}
					<div class="layui-form-item">
						<label class="layui-form-label">icon：</label>
						<div class="layui-input-block">
							<input type="text" name="data[icon]" id="mn_icon" value="{$data.icon}" required  lay-verify="required" placeholder="填写完整的font awesome图标class名" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">排序：</label>
						<div class="layui-input-block">
							<input type="text" name="data[displayorder]" id="mn_displayorder" value="{$data.displayorder}" value="0" placeholder="排序" autocomplete="off" class="layui-input">
						</div>
					</div>
				</div>
			</fieldset>
		</div>
	</div>
	<!-- 底部 -->
	<div class="manniucms-sub-footer">
		<div class="layui-box msf-box text-center">
			<div class="layui-inline">
				<button class="layui-btn" lay-submit><i class="layui-icon">&#xe60a;</i> 保存</button>
				<button type="button" class="layui-btn layui-btn-primary goback"><i class="layui-icon">&#xe603;</i> 返回</button>
			</div>
		</div>
	</div>
</form>